#ifndef USERPROFILE_H_
#define USERPROFILE_H_

#include <list>
#include "Preference.h"

class UserProfile {
private:
	std::string id;
	std::list<Preference> preferences;

public:
	UserProfile(std::string id) {
		this->id = id;
	}

	inline std::string getId() const {
		return id;
	}

	inline std::list<Preference> getPreferences() const {
		return preferences;
	}

	void setId(std::string id) {
		this->id = id;
	}

	void setPreferences(std::list<Preference> preferences) {
		this->preferences = preferences;
	}

	void addPreference(Preference& preference) {
		this->preferences.push_back(preference);
	}

};

#endif /* USERPROFILE_H_ */
